Scroll to navigation

lsm_battery_system_id_get(3) Libstoragemgmt C API Manual lsm_battery_system_id_get(3)

NAME

lsm_battery_system_id_get - Retrieves the system ID for the battery.

SYNOPSIS

const char * lsm_battery_system_id_get (lsm_battery *b);

ARGUMENTS

Battery to retrieve system ID for.

VERSION

1.3

DESCRIPTION

Retrieves the system id for the specified battery.

NOTE

Address returned is valid until lsm_battery gets freed, copy return value if you need longer scope. Do not free returned string.

RETURN

string. NULL if argument 'b' is NULL or not a valid lsm_battery pointer.

lsm_battery_system_id_get January 2023